
import { createApp } from 'vue'
import App from './06-pinia.vue'
import router from './router'
import { createPinia } from 'pinia'
import persistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persistedstate)
const app = createApp(App)

app.use(pinia)
  app.use(router)
  app.mount('#app')
